<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: Graph API: Image and channel composition functions</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Graph API: Image and channel composition functions<div class="ingroups"><a class="el" href="../../df/d1f/group__gapi__core.html">G-API Core functionality</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga332791cecc4160115bbea9449ee11657"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#ga332791cecc4160115bbea9449ee11657">cv::gapi::concatHor</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src1, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src2)</td></tr>
<tr class="memdesc:ga332791cecc4160115bbea9449ee11657"><td class="mdescLeft"> </td><td class="mdescRight">Applies horizontal concatenation to given matrices.  <a href="../../d6/d91/group__gapi__transform.html#ga332791cecc4160115bbea9449ee11657">More...</a><br/></td></tr>
<tr class="separator:ga332791cecc4160115bbea9449ee11657"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5518633a98c85dea0a0a5c3da4f136e0"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#ga5518633a98c85dea0a0a5c3da4f136e0">cv::gapi::concatHor</a> (const std::vector&lt; <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &gt; &amp;v)</td></tr>
<tr class="separator:ga5518633a98c85dea0a0a5c3da4f136e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1cd4abced53d37ad46907283c6b3fa36"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#ga1cd4abced53d37ad46907283c6b3fa36">cv::gapi::concatVert</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src1, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src2)</td></tr>
<tr class="memdesc:ga1cd4abced53d37ad46907283c6b3fa36"><td class="mdescLeft"> </td><td class="mdescRight">Applies vertical concatenation to given matrices.  <a href="../../d6/d91/group__gapi__transform.html#ga1cd4abced53d37ad46907283c6b3fa36">More...</a><br/></td></tr>
<tr class="separator:ga1cd4abced53d37ad46907283c6b3fa36"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga771d3a4a7dd392e51f1f0081b09aa7ff"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#ga771d3a4a7dd392e51f1f0081b09aa7ff">cv::gapi::concatVert</a> (const std::vector&lt; <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &gt; &amp;v)</td></tr>
<tr class="separator:ga771d3a4a7dd392e51f1f0081b09aa7ff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae972b2c91904d36e92ee14a6778db82e"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gae972b2c91904d36e92ee14a6778db82e">cv::gapi::convertTo</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, int rdepth, double alpha=1, double beta=0)</td></tr>
<tr class="memdesc:gae972b2c91904d36e92ee14a6778db82e"><td class="mdescLeft"> </td><td class="mdescRight">Converts a matrix to another data depth with optional scaling.  <a href="../../d6/d91/group__gapi__transform.html#gae972b2c91904d36e92ee14a6778db82e">More...</a><br/></td></tr>
<tr class="separator:gae972b2c91904d36e92ee14a6778db82e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac782e501961826d93c5556e623fca3c3"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gac782e501961826d93c5556e623fca3c3">cv::gapi::copy</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;in)</td></tr>
<tr class="memdesc:gac782e501961826d93c5556e623fca3c3"><td class="mdescLeft"> </td><td class="mdescRight">Makes a copy of the input image. Note that this copy may be not real (no actual data copied). Use this function to maintain graph contracts, e.g when graph's input needs to be passed directly to output, like in Streaming mode.  <a href="../../d6/d91/group__gapi__transform.html#gac782e501961826d93c5556e623fca3c3">More...</a><br/></td></tr>
<tr class="separator:gac782e501961826d93c5556e623fca3c3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1dc3b1987d6685689ecc0d590abddba8"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../d9/d94/classcv_1_1GFrame.html">GFrame</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#ga1dc3b1987d6685689ecc0d590abddba8">cv::gapi::copy</a> (const <a class="el" href="../../d9/d94/classcv_1_1GFrame.html">GFrame</a> &amp;in)</td></tr>
<tr class="memdesc:ga1dc3b1987d6685689ecc0d590abddba8"><td class="mdescLeft"> </td><td class="mdescRight">Makes a copy of the input frame. Note that this copy may be not real (no actual data copied). Use this function to maintain graph contracts, e.g when graph's input needs to be passed directly to output, like in Streaming mode.  <a href="../../d6/d91/group__gapi__transform.html#ga1dc3b1987d6685689ecc0d590abddba8">More...</a><br/></td></tr>
<tr class="separator:ga1dc3b1987d6685689ecc0d590abddba8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae72ac2d6fec8d4e636a7d72d37e70895"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gae72ac2d6fec8d4e636a7d72d37e70895">cv::gapi::crop</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &amp;rect)</td></tr>
<tr class="memdesc:gae72ac2d6fec8d4e636a7d72d37e70895"><td class="mdescLeft"> </td><td class="mdescRight">Crops a 2D matrix.  <a href="../../d6/d91/group__gapi__transform.html#gae72ac2d6fec8d4e636a7d72d37e70895">More...</a><br/></td></tr>
<tr class="separator:gae72ac2d6fec8d4e636a7d72d37e70895"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa5d151bf720b9e4186ca3d415dc879c7"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gaa5d151bf720b9e4186ca3d415dc879c7">cv::gapi::flip</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, int flipCode)</td></tr>
<tr class="memdesc:gaa5d151bf720b9e4186ca3d415dc879c7"><td class="mdescLeft"> </td><td class="mdescRight">Flips a 2D matrix around vertical, horizontal, or both axes.  <a href="../../d6/d91/group__gapi__transform.html#gaa5d151bf720b9e4186ca3d415dc879c7">More...</a><br/></td></tr>
<tr class="separator:gaa5d151bf720b9e4186ca3d415dc879c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7f13dbe65b7df6816c53162647762a11"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#ga7f13dbe65b7df6816c53162647762a11">cv::gapi::LUT</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;lut)</td></tr>
<tr class="memdesc:ga7f13dbe65b7df6816c53162647762a11"><td class="mdescLeft"> </td><td class="mdescRight">Performs a look-up table transform of a matrix.  <a href="../../d6/d91/group__gapi__transform.html#ga7f13dbe65b7df6816c53162647762a11">More...</a><br/></td></tr>
<tr class="separator:ga7f13dbe65b7df6816c53162647762a11"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf63e894270a088695e6ec97d9a903971"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gaf63e894270a088695e6ec97d9a903971">cv::gapi::merge3</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src1, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src2, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src3)</td></tr>
<tr class="memdesc:gaf63e894270a088695e6ec97d9a903971"><td class="mdescLeft"> </td><td class="mdescRight">Creates one 3-channel matrix out of 3 single-channel ones.  <a href="../../d6/d91/group__gapi__transform.html#gaf63e894270a088695e6ec97d9a903971">More...</a><br/></td></tr>
<tr class="separator:gaf63e894270a088695e6ec97d9a903971"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8206d42b933edcbf08d6953e202d0dd0"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#ga8206d42b933edcbf08d6953e202d0dd0">cv::gapi::merge4</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src1, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src2, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src3, const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src4)</td></tr>
<tr class="memdesc:ga8206d42b933edcbf08d6953e202d0dd0"><td class="mdescLeft"> </td><td class="mdescRight">Creates one 4-channel matrix out of 4 single-channel ones.  <a href="../../d6/d91/group__gapi__transform.html#ga8206d42b933edcbf08d6953e202d0dd0">More...</a><br/></td></tr>
<tr class="separator:ga8206d42b933edcbf08d6953e202d0dd0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaedda08934a12c8b4d8f3c1762f27cacc"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gaedda08934a12c8b4d8f3c1762f27cacc">cv::gapi::normalize</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, double alpha, double beta, int norm_type, int ddepth=-1)</td></tr>
<tr class="memdesc:gaedda08934a12c8b4d8f3c1762f27cacc"><td class="mdescLeft"> </td><td class="mdescRight">Normalizes the norm or value range of an array.  <a href="../../d6/d91/group__gapi__transform.html#gaedda08934a12c8b4d8f3c1762f27cacc">More...</a><br/></td></tr>
<tr class="separator:gaedda08934a12c8b4d8f3c1762f27cacc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac2c8de7ed8e75e46516246a8365b6298"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gac2c8de7ed8e75e46516246a8365b6298">cv::gapi::remap</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;map1, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;map2, int interpolation, int borderMode=<a class="el" href="../../d2/de8/group__core__array.html#gga209f2f4869e304c82d07739337eae7c5aed2e4346047e265c8c5a6d0276dcd838">BORDER_CONSTANT</a>, const <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a> &amp;borderValue=<a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a>())</td></tr>
<tr class="memdesc:gac2c8de7ed8e75e46516246a8365b6298"><td class="mdescLeft"> </td><td class="mdescRight">Applies a generic geometrical transformation to an image.  <a href="../../d6/d91/group__gapi__transform.html#gac2c8de7ed8e75e46516246a8365b6298">More...</a><br/></td></tr>
<tr class="separator:gac2c8de7ed8e75e46516246a8365b6298"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad0ae87ad8b909c3c11a07b007837be8b"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gad0ae87ad8b909c3c11a07b007837be8b">cv::gapi::resize</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> &amp;dsize, double fx=0, double fy=0, int interpolation=<a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">INTER_LINEAR</a>)</td></tr>
<tr class="memdesc:gad0ae87ad8b909c3c11a07b007837be8b"><td class="mdescLeft"> </td><td class="mdescRight">Resizes an image.  <a href="../../d6/d91/group__gapi__transform.html#gad0ae87ad8b909c3c11a07b007837be8b">More...</a><br/></td></tr>
<tr class="separator:gad0ae87ad8b909c3c11a07b007837be8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3e57b0f6b2c54564502ff87231c24782"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/d39/classcv_1_1GMatP.html">GMatP</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#ga3e57b0f6b2c54564502ff87231c24782">cv::gapi::resizeP</a> (const <a class="el" href="../../de/d39/classcv_1_1GMatP.html">GMatP</a> &amp;src, const <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> &amp;dsize, int interpolation=<a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">cv::INTER_LINEAR</a>)</td></tr>
<tr class="memdesc:ga3e57b0f6b2c54564502ff87231c24782"><td class="mdescLeft"> </td><td class="mdescRight">Resizes a planar image.  <a href="../../d6/d91/group__gapi__transform.html#ga3e57b0f6b2c54564502ff87231c24782">More...</a><br/></td></tr>
<tr class="separator:ga3e57b0f6b2c54564502ff87231c24782"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabfeb794ff284b18121b2b755a5391892"><td align="right" class="memItemLeft" valign="top">std::tuple&lt; <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>, <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>, <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gabfeb794ff284b18121b2b755a5391892">cv::gapi::split3</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:gabfeb794ff284b18121b2b755a5391892"><td class="mdescLeft"> </td><td class="mdescRight">Divides a 3-channel matrix into 3 single-channel matrices.  <a href="../../d6/d91/group__gapi__transform.html#gabfeb794ff284b18121b2b755a5391892">More...</a><br/></td></tr>
<tr class="separator:gabfeb794ff284b18121b2b755a5391892"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac87c9e2894c8b589eabc0ec2ac9d90eb"><td align="right" class="memItemLeft" valign="top">std::tuple&lt; <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>, <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>, <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>, <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gac87c9e2894c8b589eabc0ec2ac9d90eb">cv::gapi::split4</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:gac87c9e2894c8b589eabc0ec2ac9d90eb"><td class="mdescLeft"> </td><td class="mdescRight">Divides a 4-channel matrix into 4 single-channel matrices.  <a href="../../d6/d91/group__gapi__transform.html#gac87c9e2894c8b589eabc0ec2ac9d90eb">More...</a><br/></td></tr>
<tr class="separator:gac87c9e2894c8b589eabc0ec2ac9d90eb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa6d70833c5eb6f6885a1b5ceb7b83957"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gaa6d70833c5eb6f6885a1b5ceb7b83957">cv::gapi::warpAffine</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;M, const <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> &amp;dsize, int flags=<a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">cv::INTER_LINEAR</a>, int borderMode=<a class="el" href="../../d2/de8/group__core__array.html#gga209f2f4869e304c82d07739337eae7c5aed2e4346047e265c8c5a6d0276dcd838">cv::BORDER_CONSTANT</a>, const <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a> &amp;borderValue=<a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a>())</td></tr>
<tr class="memdesc:gaa6d70833c5eb6f6885a1b5ceb7b83957"><td class="mdescLeft"> </td><td class="mdescRight">Applies an affine transformation to an image.  <a href="../../d6/d91/group__gapi__transform.html#gaa6d70833c5eb6f6885a1b5ceb7b83957">More...</a><br/></td></tr>
<tr class="separator:gaa6d70833c5eb6f6885a1b5ceb7b83957"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac0cc729169b973fb0a8bb6f01968b357"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d91/group__gapi__transform.html#gac0cc729169b973fb0a8bb6f01968b357">cv::gapi::warpPerspective</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;M, const <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> &amp;dsize, int flags=<a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">cv::INTER_LINEAR</a>, int borderMode=<a class="el" href="../../d2/de8/group__core__array.html#gga209f2f4869e304c82d07739337eae7c5aed2e4346047e265c8c5a6d0276dcd838">cv::BORDER_CONSTANT</a>, const <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a> &amp;borderValue=<a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a>())</td></tr>
<tr class="memdesc:gac0cc729169b973fb0a8bb6f01968b357"><td class="mdescLeft"> </td><td class="mdescRight">Applies a perspective transformation to an image.  <a href="../../d6/d91/group__gapi__transform.html#gac0cc729169b973fb0a8bb6f01968b357">More...</a><br/></td></tr>
<tr class="separator:gac0cc729169b973fb0a8bb6f01968b357"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga332791cecc4160115bbea9449ee11657"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga332791cecc4160115bbea9449ee11657">◆ </a></span>concatHor() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::concatHor </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src2</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Applies horizontal concatenation to given matrices. </p>
<p>The function horizontally concatenates two <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> matrices (with the same number of rows). </p><div class="fragment"><div class="line">GMat A = { 1, 4,</div><div class="line">           2, 5,</div><div class="line">           3, 6 };</div><div class="line">GMat B = { 7, 10,</div><div class="line">           8, 11,</div><div class="line">           9, 12 };</div><div class="line"></div><div class="line">GMat C = <a class="code" href="../../d6/d91/group__gapi__transform.html#ga332791cecc4160115bbea9449ee11657">gapi::concatHor</a>(A, B);</div><div class="line"><span class="comment">//C:</span></div><div class="line"><span class="comment">//[1, 4, 7, 10;</span></div><div class="line"><span class="comment">// 2, 5, 8, 11;</span></div><div class="line"><span class="comment">// 3, 6, 9, 12]</span></div></div><!-- fragment --><p> Output matrix must the same number of rows and depth as the src1 and src2, and the sum of cols of the src1 and src2. Supported matrix data types are <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>, <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>, <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga404fd4e4553b57c481b7fac31aedcd2b">CV_16UC1</a>, <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga3515053e24377cf079fa1027d208ad52">CV_16SC1</a>, <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga32ec76240e43e4c9c7b2e2785180a7e6">CV_32FC1</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.transform.concatHor"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src1</td><td>first input matrix to be considered for horizontal concatenation. </td></tr>
    <tr><td class="paramname">src2</td><td>second input matrix to be considered for horizontal concatenation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#ga1cd4abced53d37ad46907283c6b3fa36" title="Applies vertical concatenation to given matrices. ">concatVert</a> </dd></dl>
</div>
</div>
<a id="ga5518633a98c85dea0a0a5c3da4f136e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5518633a98c85dea0a0a5c3da4f136e0">◆ </a></span>concatHor() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::concatHor </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &gt; &amp; </td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The function horizontally concatenates given number of <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> matrices (with the same number of columns). Output matrix must the same number of columns and depth as the input matrices, and the sum of rows of input matrices.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">v</td><td>vector of input matrices to be concatenated horizontally. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="ga1cd4abced53d37ad46907283c6b3fa36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1cd4abced53d37ad46907283c6b3fa36">◆ </a></span>concatVert() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::concatVert </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src2</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Applies vertical concatenation to given matrices. </p>
<p>The function vertically concatenates two <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> matrices (with the same number of cols). </p><div class="fragment"><div class="line">GMat A = { 1, 7,</div><div class="line">           2, 8,</div><div class="line">           3, 9 };</div><div class="line">GMat B = { 4, 10,</div><div class="line">           5, 11,</div><div class="line">           6, 12 };</div><div class="line"></div><div class="line">GMat C = <a class="code" href="../../d6/d91/group__gapi__transform.html#ga1cd4abced53d37ad46907283c6b3fa36">gapi::concatVert</a>(A, B);</div><div class="line"><span class="comment">//C:</span></div><div class="line"><span class="comment">//[1, 7;</span></div><div class="line"><span class="comment">// 2, 8;</span></div><div class="line"><span class="comment">// 3, 9;</span></div><div class="line"><span class="comment">// 4, 10;</span></div><div class="line"><span class="comment">// 5, 11;</span></div><div class="line"><span class="comment">// 6, 12]</span></div></div><!-- fragment --><p>Output matrix must the same number of cols and depth as the src1 and src2, and the sum of rows of the src1 and src2. Supported matrix data types are <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>, <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a>, <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga404fd4e4553b57c481b7fac31aedcd2b">CV_16UC1</a>, <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga3515053e24377cf079fa1027d208ad52">CV_16SC1</a>, <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga32ec76240e43e4c9c7b2e2785180a7e6">CV_32FC1</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.transform.concatVert"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src1</td><td>first input matrix to be considered for vertical concatenation. </td></tr>
    <tr><td class="paramname">src2</td><td>second input matrix to be considered for vertical concatenation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#ga332791cecc4160115bbea9449ee11657" title="Applies horizontal concatenation to given matrices. ">concatHor</a> </dd></dl>
</div>
</div>
<a id="ga771d3a4a7dd392e51f1f0081b09aa7ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga771d3a4a7dd392e51f1f0081b09aa7ff">◆ </a></span>concatVert() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::concatVert </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &gt; &amp; </td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The function vertically concatenates given number of <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> matrices (with the same number of columns). Output matrix must the same number of columns and depth as the input matrices, and the sum of rows of input matrices.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">v</td><td>vector of input matrices to be concatenated vertically. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="gae972b2c91904d36e92ee14a6778db82e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae972b2c91904d36e92ee14a6778db82e">◆ </a></span>convertTo()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::convertTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>rdepth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>alpha</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>beta</em> = <code>0</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Converts a matrix to another data depth with optional scaling. </p>
<p>The method converts source pixel values to the target data depth. saturate_cast&lt;&gt; is applied at the end to avoid possible overflows:</p>
<p class="formulaDsp">
\[m(x,y) = saturate \_ cast&lt;rType&gt;( \alpha (*this)(x,y) + \beta )\]
</p>
<p> Output matrix must be of the same size as input one.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.core.transform.convertTo" </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input matrix to be converted from. </td></tr>
    <tr><td class="paramname">rdepth</td><td>desired output matrix depth or, rather, the depth since the number of channels are the same as the input has; if rdepth is negative, the output matrix will have the same depth as the input. </td></tr>
    <tr><td class="paramname">alpha</td><td>optional scale factor. </td></tr>
    <tr><td class="paramname">beta</td><td>optional delta added to the scaled values. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d9/dd8/samples_2cpp_2stitching_detailed_8cpp-example.html#a33">samples/cpp/stitching_detailed.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="gac782e501961826d93c5556e623fca3c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac782e501961826d93c5556e623fca3c3">◆ </a></span>copy() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::copy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d0a/format_8hpp.html">opencv2/gapi/streaming/format.hpp</a>&gt;</code></p>
<p>Makes a copy of the input image. Note that this copy may be not real (no actual data copied). Use this function to maintain graph contracts, e.g when graph's input needs to be passed directly to output, like in Streaming mode. </p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.streaming.copy"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>Input image </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Copy of the input </dd></dl>
</div>
</div>
<a id="ga1dc3b1987d6685689ecc0d590abddba8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1dc3b1987d6685689ecc0d590abddba8">◆ </a></span>copy() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d9/d94/classcv_1_1GFrame.html">GFrame</a> cv::gapi::copy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d9/d94/classcv_1_1GFrame.html">GFrame</a> &amp; </td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d0a/format_8hpp.html">opencv2/gapi/streaming/format.hpp</a>&gt;</code></p>
<p>Makes a copy of the input frame. Note that this copy may be not real (no actual data copied). Use this function to maintain graph contracts, e.g when graph's input needs to be passed directly to output, like in Streaming mode. </p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.streaming.copy"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>Input frame </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Copy of the input </dd></dl>
</div>
</div>
<a id="gae72ac2d6fec8d4e636a7d72d37e70895"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae72ac2d6fec8d4e636a7d72d37e70895">◆ </a></span>crop()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::crop </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &amp; </td>
          <td class="paramname"><em>rect</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Crops a 2D matrix. </p>
<p>The function crops the matrix by given <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">cv::Rect</a>.</p>
<p>Output matrix must be of the same depth as input one, size is specified by given rect size.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.core.transform.crop"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input matrix. </td></tr>
    <tr><td class="paramname">rect</td><td>a rect to crop a matrix to </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#gad0ae87ad8b909c3c11a07b007837be8b" title="Resizes an image. ">resize</a> </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d9/d8d/samples_2dnn_2classification_8cpp-example.html#a8">samples/dnn/classification.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="gaa5d151bf720b9e4186ca3d415dc879c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa5d151bf720b9e4186ca3d415dc879c7">◆ </a></span>flip()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::flip </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>flipCode</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Flips a 2D matrix around vertical, horizontal, or both axes. </p>
<p>The function flips the matrix in one of three different ways (row and column indices are 0-based): </p><p class="formulaDsp">
\[\texttt{dst} _{ij} = \left\{ \begin{array}{l l} \texttt{src} _{\texttt{src.rows}-i-1,j} &amp; if\; \texttt{flipCode} = 0 \\ \texttt{src} _{i, \texttt{src.cols} -j-1} &amp; if\; \texttt{flipCode} &gt; 0 \\ \texttt{src} _{ \texttt{src.rows} -i-1, \texttt{src.cols} -j-1} &amp; if\; \texttt{flipCode} &lt; 0 \\ \end{array} \right.\]
</p>
<p> The example scenarios of using the function are the following: Vertical flipping of the image (flipCode == 0) to switch between top-left and bottom-left image origin. This is a typical operation in video processing on Microsoft Windows* OS. Horizontal flipping of the image with the subsequent horizontal shift and absolute difference calculation to check for a vertical-axis symmetry (flipCode &gt; 0). Simultaneous horizontal and vertical flipping of the image with the subsequent shift and absolute difference calculation to check for a central symmetry (flipCode &lt; 0). Reversing the order of point arrays (flipCode &gt; 0 or flipCode == 0). Output image must be of the same depth as input one, size should be correct for given flipCode.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.core.transform.flip"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input matrix. </td></tr>
    <tr><td class="paramname">flipCode</td><td>a flag to specify how to flip the array; 0 means flipping around the x-axis and positive value (for example, 1) means flipping around y-axis. Negative value (for example, -1) means flipping around both axes. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#gac2c8de7ed8e75e46516246a8365b6298" title="Applies a generic geometrical transformation to an image. ">remap</a> </dd></dl>
</div>
</div>
<a id="ga7f13dbe65b7df6816c53162647762a11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7f13dbe65b7df6816c53162647762a11">◆ </a></span>LUT()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::LUT </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>lut</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Performs a look-up table transform of a matrix. </p>
<p>The function LUT fills the output matrix with values from the look-up table. Indices of the entries are taken from the input matrix. That is, the function processes each element of src as follows: </p><p class="formulaDsp">
\[\texttt{dst} (I) \leftarrow \texttt{lut(src(I))}\]
</p>
<p>Supported matrix data types are <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. Output is a matrix of the same size and number of channels as src, and the same depth as lut.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.core.transform.LUT"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input matrix of 8-bit elements. </td></tr>
    <tr><td class="paramname">lut</td><td>look-up table of 256 elements; in case of multi-channel input array, the table should either have a single channel (in this case the same table is used for all channels) or the same number of channels as in the input matrix. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="gaf63e894270a088695e6ec97d9a903971"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf63e894270a088695e6ec97d9a903971">◆ </a></span>merge3()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::merge3 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src3</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Creates one 3-channel matrix out of 3 single-channel ones. </p>
<p>The function merges several matrices to make a single multi-channel matrix. That is, each element of the output matrix will be a concatenation of the elements of the input matrices, where elements of i-th input matrix are treated as mv[i].channels()-element vectors. Output matrix must be of <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a> type.</p>
<p>The function split3 does the reverse operation.</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Function textual ID is "org.opencv.core.transform.merge3"</li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src1</td><td>first input <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> matrix to be merged. </td></tr>
    <tr><td class="paramname">src2</td><td>second input <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> matrix to be merged. </td></tr>
    <tr><td class="paramname">src3</td><td>third input <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> matrix to be merged. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#ga8206d42b933edcbf08d6953e202d0dd0" title="Creates one 4-channel matrix out of 4 single-channel ones. ">merge4</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gac87c9e2894c8b589eabc0ec2ac9d90eb" title="Divides a 4-channel matrix into 4 single-channel matrices. ">split4</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gabfeb794ff284b18121b2b755a5391892" title="Divides a 3-channel matrix into 3 single-channel matrices. ">split3</a> </dd></dl>
</div>
</div>
<a id="ga8206d42b933edcbf08d6953e202d0dd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8206d42b933edcbf08d6953e202d0dd0">◆ </a></span>merge4()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::merge4 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src4</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Creates one 4-channel matrix out of 4 single-channel ones. </p>
<p>The function merges several matrices to make a single multi-channel matrix. That is, each element of the output matrix will be a concatenation of the elements of the input matrices, where elements of i-th input matrix are treated as mv[i].channels()-element vectors. Output matrix must be of <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga4519ad2827f771db8260c61207b782df">CV_8UC4</a> type.</p>
<p>The function split4 does the reverse operation.</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Function textual ID is "org.opencv.core.transform.merge4"</li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src1</td><td>first input <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> matrix to be merged. </td></tr>
    <tr><td class="paramname">src2</td><td>second input <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> matrix to be merged. </td></tr>
    <tr><td class="paramname">src3</td><td>third input <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> matrix to be merged. </td></tr>
    <tr><td class="paramname">src4</td><td>fourth input <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> matrix to be merged. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#gaf63e894270a088695e6ec97d9a903971" title="Creates one 3-channel matrix out of 3 single-channel ones. ">merge3</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gac87c9e2894c8b589eabc0ec2ac9d90eb" title="Divides a 4-channel matrix into 4 single-channel matrices. ">split4</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gabfeb794ff284b18121b2b755a5391892" title="Divides a 3-channel matrix into 3 single-channel matrices. ">split3</a> </dd></dl>
</div>
</div>
<a id="gaedda08934a12c8b4d8f3c1762f27cacc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaedda08934a12c8b4d8f3c1762f27cacc">◆ </a></span>normalize()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::normalize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>norm_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>ddepth</em> = <code>-1</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Normalizes the norm or value range of an array. </p>
<p>The function normalizes scale and shift the input array elements so that </p><p class="formulaDsp">
\[\| \texttt{dst} \| _{L_p}= \texttt{alpha}\]
</p>
<p> (where p=Inf, 1 or 2) when normType=NORM_INF, NORM_L1, or NORM_L2, respectively; or so that </p><p class="formulaDsp">
\[\min _I \texttt{dst} (I)= \texttt{alpha} , \, \, \max _I \texttt{dst} (I)= \texttt{beta}\]
</p>
<p> when normType=NORM_MINMAX (for dense arrays only).</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.core.normalize"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input array. </td></tr>
    <tr><td class="paramname">alpha</td><td>norm value to normalize to or the lower range boundary in case of the range normalization. </td></tr>
    <tr><td class="paramname">beta</td><td>upper range boundary in case of the range normalization; it is not used for the norm normalization. </td></tr>
    <tr><td class="paramname">norm_type</td><td>normalization type (see <a class="el" href="../../d2/de8/group__core__array.html#gad12cefbcb5291cf958a85b4b67b6149f">cv::NormTypes</a>). </td></tr>
    <tr><td class="paramname">ddepth</td><td>when negative, the output array has the same type as src; otherwise, it has the same number of channels as src and the depth =ddepth. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d84/group__core__basic.html#ga4e556cb8ad35a643a1ea66e035711bb9">norm</a>, <a class="el" href="../../d3/d63/classcv_1_1Mat.html#adf88c60c5b4980e05bb556080916978b" title="Converts an array to another data type with optional scaling. ">Mat::convertTo</a> </dd></dl>
</div>
</div>
<a id="gac2c8de7ed8e75e46516246a8365b6298"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac2c8de7ed8e75e46516246a8365b6298">◆ </a></span>remap()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::remap </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>map1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>map2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>interpolation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>borderMode</em> = <code><a class="el" href="../../d2/de8/group__core__array.html#gga209f2f4869e304c82d07739337eae7c5aed2e4346047e265c8c5a6d0276dcd838">BORDER_CONSTANT</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a> &amp; </td>
          <td class="paramname"><em>borderValue</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a>()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Applies a generic geometrical transformation to an image. </p>
<p>The function remap transforms the source image using the specified map:</p>
<p class="formulaDsp">
\[\texttt{dst} (x,y) = \texttt{src} (map_x(x,y),map_y(x,y))\]
</p>
<p>where values of pixels with non-integer coordinates are computed using one of available interpolation methods. \(map_x\) and \(map_y\) can be encoded as separate floating-point maps in \(map_1\) and \(map_2\) respectively, or interleaved floating-point maps of \((x,y)\) in \(map_1\), or fixed-point maps created by using convertMaps. The reason you might want to convert from floating to fixed-point representations of a map is that they can yield much faster (2x) remapping operations. In the converted case, \(map_1\) contains pairs (cvFloor(x), cvFloor(y)) and \(map_2\) contains indices in a table of interpolation coefficients. Output image must be of the same size and depth as input one.</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Function textual ID is "org.opencv.core.transform.remap"</li>
<li>Due to current implementation limitations the size of an input and output images should be less than 32767x32767.</li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Source image. </td></tr>
    <tr><td class="paramname">map1</td><td>The first map of either (x,y) points or just x values having the type CV_16SC2, CV_32FC1, or CV_32FC2. </td></tr>
    <tr><td class="paramname">map2</td><td>The second map of y values having the type CV_16UC1, CV_32FC1, or none (empty map if map1 is (x,y) points), respectively. </td></tr>
    <tr><td class="paramname">interpolation</td><td>Interpolation method (see <a class="el" href="../../da/d54/group__imgproc__transform.html#ga5bb5a1fea74ea38e1a5445ca803ff121" title="interpolation algorithm ">cv::InterpolationFlags</a>). The methods <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121acf959dca2480cc694ca016b81b442ceb">INTER_AREA</a> and <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac00f4a8155563cdc23437fc0959da935">INTER_LINEAR_EXACT</a> are not supported by this function. </td></tr>
    <tr><td class="paramname">borderMode</td><td>Pixel extrapolation method (see <a class="el" href="../../d2/de8/group__core__array.html#ga209f2f4869e304c82d07739337eae7c5">cv::BorderTypes</a>). When borderMode=BORDER_TRANSPARENT, it means that the pixels in the destination image that corresponds to the "outliers" in the source image are not modified by the function. </td></tr>
    <tr><td class="paramname">borderValue</td><td>Value used in case of a constant border. By default, it is 0. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="gad0ae87ad8b909c3c11a07b007837be8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad0ae87ad8b909c3c11a07b007837be8b">◆ </a></span>resize()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::resize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> &amp; </td>
          <td class="paramname"><em>dsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>fx</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>fy</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>interpolation</em> = <code><a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">INTER_LINEAR</a></code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Resizes an image. </p>
<p>The function resizes the image src down to or up to the specified size.</p>
<p>Output image size will have the size dsize (when dsize is non-zero) or the size computed from <a class="el" href="../../df/d5b/namespacecv_1_1gapi_1_1streaming.html#ab4212a54245ed38608dd7d811e9cedbb" title="Gets dimensions from MediaFrame. ">src.size()</a>, fx, and fy; the depth of output is the same as of src.</p>
<p>If you want to resize src so that it fits the pre-created dst, you may call the function as follows: </p><div class="fragment"><div class="line"><span class="comment">// explicitly specify dsize=dst.size(); fx and fy will be computed from that.</span></div><div class="line"><a class="code" href="../../d6/d91/group__gapi__transform.html#gad0ae87ad8b909c3c11a07b007837be8b">resize</a>(src, dst, dst.<a class="code" href="../../d3/d63/classcv_1_1Mat.html#a146f8e8dda07d1365a575ab83d9828d1">size</a>(), 0, 0, interpolation);</div></div><!-- fragment --><p> If you want to decimate the image by factor of 2 in each direction, you can call the function this way: </p><div class="fragment"><div class="line"><span class="comment">// specify fx and fy and let the function compute the destination image size.</span></div><div class="line"><a class="code" href="../../d6/d91/group__gapi__transform.html#gad0ae87ad8b909c3c11a07b007837be8b">resize</a>(src, dst, <a class="code" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), 0.5, 0.5, interpolation);</div></div><!-- fragment --><p> To shrink an image, it will generally look best with <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121acf959dca2480cc694ca016b81b442ceb">cv::INTER_AREA</a> interpolation, whereas to enlarge an image, it will generally look best with <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121a55e404e7fa9684af79fe9827f36a5dc1">cv::INTER_CUBIC</a> (slow) or <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">cv::INTER_LINEAR</a> (faster but still looks OK).</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.core.transform.resize"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image. </td></tr>
    <tr><td class="paramname">dsize</td><td>output image size; if it equals zero, it is computed as: <p class="formulaDsp">
\[\texttt{dsize = Size(round(fx*src.cols), round(fy*src.rows))}\]
</p>
 Either dsize or both fx and fy must be non-zero. </td></tr>
    <tr><td class="paramname">fx</td><td>scale factor along the horizontal axis; when it equals 0, it is computed as <p class="formulaDsp">
\[\texttt{(double)dsize.width/src.cols}\]
</p>
 </td></tr>
    <tr><td class="paramname">fy</td><td>scale factor along the vertical axis; when it equals 0, it is computed as <p class="formulaDsp">
\[\texttt{(double)dsize.height/src.rows}\]
</p>
 </td></tr>
    <tr><td class="paramname">interpolation</td><td>interpolation method, see <a class="el" href="../../da/d54/group__imgproc__transform.html#ga5bb5a1fea74ea38e1a5445ca803ff121" title="interpolation algorithm ">cv::InterpolationFlags</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#gaa6d70833c5eb6f6885a1b5ceb7b83957" title="Applies an affine transformation to an image. ">warpAffine</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gac0cc729169b973fb0a8bb6f01968b357" title="Applies a perspective transformation to an image. ">warpPerspective</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gac2c8de7ed8e75e46516246a8365b6298" title="Applies a generic geometrical transformation to an image. ">remap</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#ga3e57b0f6b2c54564502ff87231c24782" title="Resizes a planar image. ">resizeP</a> </dd></dl>
</div>
</div>
<a id="ga3e57b0f6b2c54564502ff87231c24782"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3e57b0f6b2c54564502ff87231c24782">◆ </a></span>resizeP()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/d39/classcv_1_1GMatP.html">GMatP</a> cv::gapi::resizeP </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../de/d39/classcv_1_1GMatP.html">GMatP</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> &amp; </td>
          <td class="paramname"><em>dsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>interpolation</em> = <code><a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">cv::INTER_LINEAR</a></code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Resizes a planar image. </p>
<p>The function resizes the image src down to or up to the specified size. Planar image memory layout is three planes laying in the memory contiguously, so the image height should be plane_height*plane_number, image type is <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>.</p>
<p>Output image size will have the size dsize, the depth of output is the same as of src.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.core.transform.resizeP"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image, must be of <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> type; </td></tr>
    <tr><td class="paramname">dsize</td><td>output image size; </td></tr>
    <tr><td class="paramname">interpolation</td><td>interpolation method, only <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">cv::INTER_LINEAR</a> is supported at the moment</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#gaa6d70833c5eb6f6885a1b5ceb7b83957" title="Applies an affine transformation to an image. ">warpAffine</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gac0cc729169b973fb0a8bb6f01968b357" title="Applies a perspective transformation to an image. ">warpPerspective</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gac2c8de7ed8e75e46516246a8365b6298" title="Applies a generic geometrical transformation to an image. ">remap</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gad0ae87ad8b909c3c11a07b007837be8b" title="Resizes an image. ">resize</a> </dd></dl>
</div>
</div>
<a id="gabfeb794ff284b18121b2b755a5391892"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabfeb794ff284b18121b2b755a5391892">◆ </a></span>split3()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::tuple&lt;<a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>, <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>, <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>&gt; cv::gapi::split3 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.split3(</td><td class="paramname">src</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Divides a 3-channel matrix into 3 single-channel matrices. </p>
<p>The function splits a 3-channel matrix into 3 single-channel matrices: </p><p class="formulaDsp">
\[\texttt{mv} [c](I) = \texttt{src} (I)_c\]
</p>
<p>All output matrices must be of <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> type.</p>
<p>The function merge3 does the reverse operation.</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Function textual ID is "org.opencv.core.transform.split3"</li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga88c4cd9de76f678f33928ef1e3f96047">CV_8UC3</a> matrix. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#gac87c9e2894c8b589eabc0ec2ac9d90eb" title="Divides a 4-channel matrix into 4 single-channel matrices. ">split4</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gaf63e894270a088695e6ec97d9a903971" title="Creates one 3-channel matrix out of 3 single-channel ones. ">merge3</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#ga8206d42b933edcbf08d6953e202d0dd0" title="Creates one 4-channel matrix out of 4 single-channel ones. ">merge4</a> </dd></dl>
</div>
</div>
<a id="gac87c9e2894c8b589eabc0ec2ac9d90eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac87c9e2894c8b589eabc0ec2ac9d90eb">◆ </a></span>split4()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::tuple&lt;<a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>, <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>, <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>,<a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a>&gt; cv::gapi::split4 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Divides a 4-channel matrix into 4 single-channel matrices. </p>
<p>The function splits a 4-channel matrix into 4 single-channel matrices: </p><p class="formulaDsp">
\[\texttt{mv} [c](I) = \texttt{src} (I)_c\]
</p>
<p>All output matrices must be of <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a> type.</p>
<p>The function merge4 does the reverse operation.</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Function textual ID is "org.opencv.core.transform.split4"</li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga4519ad2827f771db8260c61207b782df">CV_8UC4</a> matrix. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#gabfeb794ff284b18121b2b755a5391892" title="Divides a 3-channel matrix into 3 single-channel matrices. ">split3</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gaf63e894270a088695e6ec97d9a903971" title="Creates one 3-channel matrix out of 3 single-channel ones. ">merge3</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#ga8206d42b933edcbf08d6953e202d0dd0" title="Creates one 4-channel matrix out of 4 single-channel ones. ">merge4</a> </dd></dl>
</div>
</div>
<a id="gaa6d70833c5eb6f6885a1b5ceb7b83957"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa6d70833c5eb6f6885a1b5ceb7b83957">◆ </a></span>warpAffine()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::warpAffine </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>M</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> &amp; </td>
          <td class="paramname"><em>dsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>flags</em> = <code><a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">cv::INTER_LINEAR</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>borderMode</em> = <code><a class="el" href="../../d2/de8/group__core__array.html#gga209f2f4869e304c82d07739337eae7c5aed2e4346047e265c8c5a6d0276dcd838">cv::BORDER_CONSTANT</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a> &amp; </td>
          <td class="paramname"><em>borderValue</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a>()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Applies an affine transformation to an image. </p>
<p>The function warpAffine transforms the source image using the specified matrix:</p>
<p class="formulaDsp">
\[\texttt{dst} (x,y) = \texttt{src} ( \texttt{M} _{11} x + \texttt{M} _{12} y + \texttt{M} _{13}, \texttt{M} _{21} x + \texttt{M} _{22} y + \texttt{M} _{23})\]
</p>
<p>when the flag <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121aa48be1c433186c4eae1ea86aa0ca75ba">WARP_INVERSE_MAP</a> is set. Otherwise, the transformation is first inverted with <a class="el" href="../../da/d54/group__imgproc__transform.html#ga57d3505a878a7e1a636645727ca08f51" title="Inverts an affine transformation. ">invertAffineTransform</a> and then put in the formula above instead of M. The function cannot operate in-place.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image. </td></tr>
    <tr><td class="paramname">M</td><td>\(2\times 3\) transformation matrix. </td></tr>
    <tr><td class="paramname">dsize</td><td>size of the output image. </td></tr>
    <tr><td class="paramname">flags</td><td>combination of interpolation methods (see <a class="el" href="../../da/d54/group__imgproc__transform.html#ga5bb5a1fea74ea38e1a5445ca803ff121" title="interpolation algorithm ">InterpolationFlags</a>) and the optional flag <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121aa48be1c433186c4eae1ea86aa0ca75ba">WARP_INVERSE_MAP</a> that means that M is the inverse transformation ( \(\texttt{dst}\rightarrow\texttt{src}\) ). </td></tr>
    <tr><td class="paramname">borderMode</td><td>pixel extrapolation method (see <a class="el" href="../../d2/de8/group__core__array.html#ga209f2f4869e304c82d07739337eae7c5">BorderTypes</a>); borderMode=<a class="el" href="../../d2/de8/group__core__array.html#gga209f2f4869e304c82d07739337eae7c5a886a5eb6b466854d63f9e742d5c8eefe" title="uvwxyz|abcdefgh|ijklmno ">BORDER_TRANSPARENT</a> isn't supported </td></tr>
    <tr><td class="paramname">borderValue</td><td>value used in case of a constant border; by default, it is 0.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#gac0cc729169b973fb0a8bb6f01968b357" title="Applies a perspective transformation to an image. ">warpPerspective</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gad0ae87ad8b909c3c11a07b007837be8b" title="Resizes an image. ">resize</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gac2c8de7ed8e75e46516246a8365b6298" title="Applies a generic geometrical transformation to an image. ">remap</a>, <a class="el" href="../../da/d54/group__imgproc__transform.html#ga77576d06075c1a4b6ba1a608850cd614" title="Retrieves a pixel rectangle from an image with sub-pixel accuracy. ">getRectSubPix</a>, <a class="el" href="../../d2/de8/group__core__array.html#ga393164aa54bb9169ce0a8cc44e08ff22" title="Performs the matrix transformation of every array element. ">transform</a> </dd></dl>
</div>
</div>
<a id="gac0cc729169b973fb0a8bb6f01968b357"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac0cc729169b973fb0a8bb6f01968b357">◆ </a></span>warpPerspective()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> cv::gapi::warpPerspective </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>M</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> &amp; </td>
          <td class="paramname"><em>dsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>flags</em> = <code><a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">cv::INTER_LINEAR</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>borderMode</em> = <code><a class="el" href="../../d2/de8/group__core__array.html#gga209f2f4869e304c82d07739337eae7c5aed2e4346047e265c8c5a6d0276dcd838">cv::BORDER_CONSTANT</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a> &amp; </td>
          <td class="paramname"><em>borderValue</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a>()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/df9/gapi_2include_2opencv2_2gapi_2core_8hpp.html">opencv2/gapi/core.hpp</a>&gt;</code></p>
<p>Applies a perspective transformation to an image. </p>
<p>The function warpPerspective transforms the source image using the specified matrix:</p>
<p class="formulaDsp">
\[\texttt{dst} (x,y) = \texttt{src} \left ( \frac{M_{11} x + M_{12} y + M_{13}}{M_{31} x + M_{32} y + M_{33}} , \frac{M_{21} x + M_{22} y + M_{23}}{M_{31} x + M_{32} y + M_{33}} \right )\]
</p>
<p>when the flag <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121aa48be1c433186c4eae1ea86aa0ca75ba">WARP_INVERSE_MAP</a> is set. Otherwise, the transformation is first inverted with invert and then put in the formula above instead of M. The function cannot operate in-place.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>input image. </td></tr>
    <tr><td class="paramname">M</td><td>\(3\times 3\) transformation matrix. </td></tr>
    <tr><td class="paramname">dsize</td><td>size of the output image. </td></tr>
    <tr><td class="paramname">flags</td><td>combination of interpolation methods (<a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121ac97d8e4880d8b5d509e96825c7522deb">INTER_LINEAR</a> or <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121aa5521d8e080972c762467c45f3b70e6c">INTER_NEAREST</a>) and the optional flag <a class="el" href="../../da/d54/group__imgproc__transform.html#gga5bb5a1fea74ea38e1a5445ca803ff121aa48be1c433186c4eae1ea86aa0ca75ba">WARP_INVERSE_MAP</a>, that sets M as the inverse transformation ( \(\texttt{dst}\rightarrow\texttt{src}\) ). </td></tr>
    <tr><td class="paramname">borderMode</td><td>pixel extrapolation method (<a class="el" href="../../d2/de8/group__core__array.html#gga209f2f4869e304c82d07739337eae7c5aed2e4346047e265c8c5a6d0276dcd838" title="iiiiii|abcdefgh|iiiiiii with some specified i ">BORDER_CONSTANT</a> or <a class="el" href="../../d2/de8/group__core__array.html#gga209f2f4869e304c82d07739337eae7c5aa1de4cff95e3377d6d0cbe7569bd4e9f" title="aaaaaa|abcdefgh|hhhhhhh ">BORDER_REPLICATE</a>). </td></tr>
    <tr><td class="paramname">borderValue</td><td>value used in case of a constant border; by default, it equals 0.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d6/d91/group__gapi__transform.html#gaa6d70833c5eb6f6885a1b5ceb7b83957" title="Applies an affine transformation to an image. ">warpAffine</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gad0ae87ad8b909c3c11a07b007837be8b" title="Resizes an image. ">resize</a>, <a class="el" href="../../d6/d91/group__gapi__transform.html#gac2c8de7ed8e75e46516246a8365b6298" title="Applies a generic geometrical transformation to an image. ">remap</a>, <a class="el" href="../../da/d54/group__imgproc__transform.html#ga77576d06075c1a4b6ba1a608850cd614" title="Retrieves a pixel rectangle from an image with sub-pixel accuracy. ">getRectSubPix</a>, <a class="el" href="../../d2/de8/group__core__array.html#gad327659ac03e5fd6894b90025e6900a7" title="Performs the perspective matrix transformation of vectors. ">perspectiveTransform</a> </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:41 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
